package records

import (
	"github.com/golib/mysql"
)

const RecordNameCmsCoursePaper = "cms_course_paper"

func init() {
	var r = &CmsCoursePaper{}
	mysql.RegisterRecord(r.Name(), r)
}

type CmsCoursePaper struct {
	CoursePaperId int    `json:"coursePaperId" form:"coursePaperId" column:"course_paper_id" primary:"true" modify:"false"`
	CourseId      int    `json:"courseId" form:"courseId" column:"course_id" modify:"true"`
	TermId        int    `json:"termId" form:"termId" column:"term_id" modify:"true"`
	Level         int    `column:"level" modify:"true" json:"level" form:"level"`
	QuestionList  string `json:"questionList" form:"questionList" column:"question_list" modify:"true"`
	CreateTime    string `form:"createTime" column:"create_time" modify:"false" json:"createTime"`
	UpdateTime    string `modify:"false" json:"updateTime" form:"updateTime" column:"update_time"`
}

func (r *CmsCoursePaper) Name() string {
	return RecordNameCmsCoursePaper
}
